﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OkTool.Excel
{
    public class ExcelClassField
    {
        /// <summary>
        /// 字段名称
        /// </summary>
        public string FieldName { get; set; }

        /// <summary>
        /// 表头名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 映射关系
        /// </summary>
        public Dictionary<string, string> KvMap { get; set; }

        /// <summary>
        /// 示例值
        /// </summary>
        public object Example { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 是否为注解字段：0-否，1-是
        /// </summary>
        public int HasAnnotation { get; set; }
    }
}
